home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-11
/
nestgt.zip
/
NESTGET.DOC
< prev
next >
Wrap
Text File
|
1993-01-04
|
6KB
|
172 lines
* Documentation for Enhancements Inc. Single Line Nested Read functions
* Copyright (c) 1990 Enhancements Inc.
*
* Single Line Nested Read Functions including:
* Nestgetn(),
* Nestgetc(),
* Nestgetd() and
* Nestgetl()
* are herein after referred to as Product.
*
*
* By using our Product you agree to the following terms:
*
*
* You do not own or have a license to use Product in any way until you
* pay Enhancements Inc. for Product. The price is Nineteen dollars
* ($19.00) US. Once you pay for this product you become a purchaser of
* it and the following conditions apply.
*
* We grant the you the purchaser a non transferable license to use our
* product as much as you want and to distribute applications developed
* using it without royalties. You are allowed to copy this product for
* your own use and backup and you may distribute product as long as this
* file is included.
*
*
* Once registered we will send you any update information, such as
* these functions for Clipper 5.0. We will also send you information on
* our other products, with the hope that we can sell them to you!
*
* If you have a copy of our Product that you did not purchase, call us!
* We will be glad to sell you your own copy with, update information
* and tech support. At only $19.00 a clear conscious is cheap!
*
* If, on the other hand, you choose to steal our work we hope others are
* already stealing yours ( they are probably still paying too much!). If
* we find out you are using our product to develop applications we will
* hunt you down and force you to program in dBaseII using Edlin on a single
* floppy, 4.77mhz base PC until Clipper Mid-Spring 1999 is released and
* debugged!
Single Line Nested Reads:
These functions for CLIPPER SUMMER87 allow you to perform a read using
a Clipper variable while within another Clipper READ statement. We will
not attempt to explain the use of nested reads as a concept here, beyond
the information needed to use these functions. If they need more instruction
or information, registered users can call for more detailed help. Our
goal is to make a product that is simple to use and small on memory
requirements. With the later in mind we do not perform a great deal of
error checking. Pass a number where a number is called for or a date
when that is the function you are using. Also use an appropriate PICTURE
template and valid screen coordinates. For memorys' sake we do not
directly effect the contents of the Clipper variable that you are reading
into but rather return the modified value for you to asign to it as shown.
The syntax for all the commands is as follows:
*********
Numeric
<numeric var> = NESTGETN( <row>, <col>, <numeric var>, <numeric template> )
EXAMPLE:
Num_var = 5
Num_var = NESTGETN( 1, 5, Num_Var, "999999.99" )
│ │ │ │
Row ─┘ │ │ └───── Picture template
Column ──┘ │
└───── Clipper varible name or
array element of proper
type.
*********
Character
<char var> = NESTGETC( <row>, <col>, <char var>, <char template> )
EXAMPLE:
Char_var = "Yo"
Char_var = NESTGETC( 2, 5, Char_var, "XXXX" )
*********
Date
<date var> = NESTGETD( <row>, <col>, <date var>, <date template> )
EXAMPLE:
Date_var = CTOD("02/02/90")
Date_var = NESTGETD( 1, 5, Date_var, "99/99/99" )
*********
Logical
<logical var> = NESTGETL( <row>, <col>, <logical var>, <logical template> )
EXAMPLE:
Logic_var = .T.
Logic_var = NESTGETD( 1, 5, Logic_var, "T" )
The basic idea here is to be able to do a READ from within another
READ for example in a VALID function.
*****************************************************************
OTHER PRODUCTS FROM ENHANCEMENTS INC.:
WE ALSO HAVE THE FOLLOWING PRODUCTS AVAILABLE:
*****************************************************************
NESTED READS
A complete Nested Reads function library. This is the fastest most
complete true nested reads library around. Written in C and Assembler
these functions are small and fast. They include error checking and
full help facilities. Also the ability to use CLIPPER input validation.
No better input functions available at any price. The others just don't
get it!
Written in C and assembler.
SINGLE LINE NESTED READS
If you do not need multiple gets on many levels these functions will
allow you to input a single value of any type from within a CLIPPER
READ.
Written in C and assembler
CHANGE COLORS!
A function for CLIPPER that will allow you to dynamically change the
color attributes anywhere on the screen at any time. Change one letter,
a line (horizontal or vertical) or any area up to the whole screen.
Includes all video modes support and blinking. It can be used to change
the color of any previously displayed text anywhere on the screen, with
one function call.
This routine also available for Basic, Pascal, Fortran, C, Turbo C,
Turbo Pascal and Dos command line.
Written entirely in assembler.
SHADOWS
A function for CLIPPER that puts true shadows around your window
boxes. Allows you to chose colors or change the location of the
shadow to any of the eight possible locations around the box.
Written entirely in assembler for speed and size.
Send money and registration to:
ENHANCEMENTS INC.
P.O. BOX 7009 SUITE 213
LAFAYETTE, CA 94549
Donald & Gregg
(415) 932-7815
Compuserve 72331,1001
3/16/90